﻿using System;
using System.Collections.Generic;
using System.Text;

public static class ShowActionsMethods
{
    public static void ShowDate_Click()
    {
        System.Console.WriteLine("Current date: {0}", DateTime.Now.ToShortDateString());
        System.Threading.Thread.Sleep(2500);
    }

    public static void ShowTime_Click()
    {
        System.Console.WriteLine("Current time: {0}", DateTime.Now.ToShortTimeString());
        System.Threading.Thread.Sleep(2500);
    }

    public static void ShowVersion_Click()
    {
        string Version = "14.1.4.0";

        System.Console.WriteLine("Version: {0}", Version);
        System.Threading.Thread.Sleep(2500);
    }

    public static void ShowWelcome_Click()
    {
        System.Console.WriteLine("Please enter your name:" + System.Environment.NewLine);
        string NameInputStr = System.Console.ReadLine();

        System.Console.WriteLine("Hello {0}", NameInputStr);
        System.Threading.Thread.Sleep(2500);
    }
}
